import request from '@/utils/request';

export async function reqTyCoreDiseasesList(data: any, options?: any): Promise<any> {
	return request('/api/sys/coreDiseases/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyCoreDiseases(data: any, options?: any): Promise<any> {
	return request('/api/sys/coreDiseases/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyCoreDiseases(data: any, options?: any): Promise<any> {
	return request('/api/sys/coreDiseases/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyCoreDiseases(data: any, options?: any): Promise<any> {
	return request('/api/sys/coreDiseases/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


